package com.example.service.Impl;

import com.example.entity.Student;
import com.example.mapper.MainMapper;
import com.example.service.MainService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MainServiceImpl implements MainService {

    @Autowired
    MainMapper mapper;

    @Override
    public Student getStudentBySID(int SID) {
        return mapper.getStudentBySID(SID);
    }
}
